<!DOCTYPE HTML>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org">
<head>

<link rel='stylesheet' href='/css/3.3.7/bootstrap.min.css'>

<link rel='stylesheet' href='/formio.full.min.css'>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
      <script src="dist/js/vendor/html5shiv.js"></script>
      <script src="dist/js/vendor/respond.min.js"></script>
    <![endif]-->

</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-12">

				<div class="contentDiv">

					<h5>列表</h5>

					<table class="table table-hover table-condensed">
						<legend>
							<strong>列表</strong>
						</legend>
						<thead>
							<tr>
								<th>序号</th>
								<th>唯一标识符</th>
								<th>名字</th>
								<th>描述</th>
								<th>管理</th>
							</tr>
						</thead>
						<tbody>
							<tr th:each="form : ${formList}">
								<th scope="row" th:text="${form.rowid}"></th>
								<td><a
									th:href="@{/update/{formId}(formId=${form.containsKey('id')?form.id:''})}" target="_blank"
									th:text="${form.containsKey('id')?form.id:''}"></a></td>
								<td th:text="${form.containsKey('name')?form.name:''}"></td>
								<td th:text="${form.containsKey('description')?form.description:''}"></td>
								<td><a class="btn btn-info" target="_blank"
									th:href="@{/view/{formId}(formId=${form.containsKey('id')?form.id:'null'})}">view</a><a
									class="btn btn-danger"
									th:href="@{/delete/{formId}(formId=${form.containsKey('id')?form.id:'null'})}">delete</a></td>
							</tr>
						</tbody>
					</table>

					<div>
						<a class="btn btn-primary" href="/create" role="button">create</a>
					</div>
				</div>

			</div>
		</div>
	</div>
	<script src='/formio.full.min.js'></script>
	<script type="text/javascript" src='/js/jquery.js'></script>
</body>
</html>